﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="students.aspx.cs" Inherits="admin_students" %>

<%@ Register TagPrefix="basecon" TagName="header" Src="~/basecon/header.ascx" %>
<%@ Register TagPrefix="basecon" TagName="info" Src="~/basecon/info.ascx" %>
<%@ Register TagPrefix="webcon" TagName="nav" Src="~/admin/webcon/nav.ascx" %>
<%@ Register TagPrefix="webcon" TagName="student" Src="~/admin/webcon/student.ascx" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员-学生列表</title>
    <basecon:header ID="header" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <basecon:info ID="info" runat="server" />
            <webcon:nav ID="conNav" runat="server" />
            <div class="maindiv">
                <div id="divMessage">
                    <div style="text-align: center">
                        导师：<asp:DropDownList ID="ddDoctors" runat="server" AutoPostBack="True" DataTextField="text" DataValueField="value" OnSelectedIndexChanged="ddDoctors_SelectedIndexChanged" >
                        </asp:DropDownList>&nbsp;评审专家：<asp:DropDownList ID="ddExperts" DataTextField="text" DataValueField="value" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddExperts_SelectedIndexChanged"
                            >
                        </asp:DropDownList></div>
                    <table class="altertab" style="width: 70%">
                        <tr bgcolor="#d4e3f6">
                            <th>
                                序号</th>
                            <th>
                                姓名</th>
                            <th>
                                ID</th>
                            <th>
                                邮箱</th>
                            <th>
                                导师</th>
                            <th>
                                是否提交论文</th>
                            <th>
                                评审专家</th>
                            <th>
                                删除</th>
                        </tr>
                        <asp:Repeater ID="repStudents" runat="server">
                            <ItemTemplate>
                                <webcon:student ID="con" runat="server" Guid='<%# DataBinder.Eval(Container.DataItem,"Guid")%>'
                                    SortID='<%# SortID++%>'></webcon:student>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr>
                            <td colspan="7">
                                &nbsp;<webdiyer:aspnetpager AlwaysShow="true" id="dgStudent" runat="server" pagesize="30" numericbuttontype="Image" OnPageChanged="dgStudents_PageChanged"></webdiyer:aspnetpager>&nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:TextBox ID="tbName" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                <asp:TextBox ID="tbID" runat="server" Width="120px"></asp:TextBox></td>
                            <td>
                                <asp:TextBox ID="tbEmail" runat="server" Width="60px"></asp:TextBox></td>
                            <td>
                                <asp:DropDownList ID="ddDoctor" DataTextField="text" DataValueField="value" runat="server">
                                </asp:DropDownList></td>
                            <td colspan="3">
                                <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
